-- GENERATED SPELL FOR [Grave Robber] --


function spell0_218(pUnit, Event) --@Exploit Weakness,n/a--
pUnit:FullCastSpellOnTarget(6595,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_218', 0, 1)
end

function Sorts_218(pUnit, Event)
local choix_sorts_218 = math.random(0, 0)
if choix_sorts_218 == 0 then
pUnit:RegisterEvent('spell0_218', 1, 1)
end
end

function mob218_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_218', math.random(1500, 3000), 1)
end

function mob218_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob218_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob218_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(218, 1, 'mob218_Action')
RegisterUnitEvent(218, 2, 'mob218_Leave')
RegisterUnitEvent(218, 3, 'mob218_Kill')
RegisterUnitEvent(218, 4, 'mob218_Die')
